Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Create migrations with model generator #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eLod
Copy link

@eLod eLod commented Mar 13, 2011

Adding template and method (and option) to generate migration when generating a model. It was taken from the ActiveRecord model_generator, but i removed testing if parent class set (AR skips migrations if parent is set because it only supports single table inheritance), not sure what would be the optimal for sequel. I simply copied the template from migrations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant